﻿@using GdHotel.Data
@using GdHotel.Data.Resources
@using GdHotel.Data.Meta.Models
@model ReserveHallModel

@{
    var language = (Language) ViewData["Language"];
}

<div class="form_reserve_block">
    <div class="form_reserve_wrap">
        <div class="form_reserve_top"></div>								
        @using (Html.BeginForm("ReserveHallConfirmed", "Reservation", FormMethod.Post, new { @class = "form_reserve" }))
        {
            <h2>@Localization.ReservationForm</h2>
            <!--form_item-->
            <div class="form_item clearfix">
                <div class="form_item">
                    <p>@Html.LabelFor(model => model.Name): @Html.ValidationMessageFor(model => model.Name)</p>
                    @Html.TextBoxFor(model => model.Name, new { @class = "field w240" })
                </div>
										
                <div class="form_item">
                    <p>@Html.LabelFor(model => model.CompanyName): @Html.ValidationMessageFor(model => model.CompanyName)</p>
                    @Html.TextBoxFor(model => model.CompanyName, new { @class = "field w240" })
                </div>

            </div>
            <!--/form_item-->
            <!--form_item-->
            <div class="form_item clearfix">
                <div class="form_item">
                    <p>@Html.LabelFor(model => model.Phone): @Html.ValidationMessageFor(model => model.Phone)</p>
                    @Html.TextBoxFor(model => model.Phone, new { @class = "field w240" })
                </div>
									
                <div class="form_item">
                    <p>@Html.LabelFor(model => model.Email): @Html.ValidationMessageFor(model => model.Email)</p>
                    @Html.TextBoxFor(model => model.Email, new { @class = "field w240" })
                </div>
            </div>
										
            <div class="form_item clearfix">
                <div class="form_item fl_left">
                    <p>@Html.LabelFor(model => model.PeopleCount): @Html.ValidationMessageFor(model => model.PeopleCount)</p>
                    @Html.TextBoxFor(model => model.PeopleCount, new { @class = "field w110" })
                </div>
                <div class="form_item2 fl_right">
                    <p>@Html.LabelFor(model => model.StartDate): @Html.ValidationMessageFor(model => model.StartDate)</p>
                    @Html.TextBoxFor(model => model.StartDate, new { @class = "field w85 fl_left datepicker", @readonly = "readonly" })
                </div>
            </div>
										
            <div class="form_item clearfix">
                <div class="form_item2 fl_left">
                    <p>@Html.LabelFor(model => model.Duration): @Html.ValidationMessageFor(model => model.Duration)</p>
                    <select class="w118" name="Duration" id="Duration">
                        <option>1</option>
                        <option>2</option>
                        <option>3</option>
                        <option>4</option>
                        <option>5</option>
                        <option>6...</option>														
                    </select>										
                </div>

                <div class="form_item2 fl_right">
                    <p>@Html.LabelFor(model => model.ArrangementType): @Html.ValidationMessageFor(model => model.ArrangementType)</p>
                    <select class="w118" name="ArrangementType" id="ArrangementType">
                        <option label="@Localization.ReservationTheatreArrangement">Театральная</option>
                        <option label="@Localization.ReservationUShapedArrangement">П-Образная</option>
                        <option label="@Localization.ReservationClassRoom">Классная комната</option>		
                    </select>										
                </div>

            </div>
										
            <div class="form_item">
                <p>@Localization.ReservationBreaks:</p>											
                <p class="ch down">
                    @Html.EditorFor(model => model.ComprehensiveLunchNeeded)
                    @Html.ValidationMessageFor(model => model.ComprehensiveLunchNeeded)
                    @Html.LabelFor(model => model.ComprehensiveLunchNeeded)</p>
                <p class="ch">
                    @Html.EditorFor(model => model.ComprehensiveDinnerNeeded)
                    @Html.ValidationMessageFor(model => model.ComprehensiveDinnerNeeded)
                    @Html.LabelFor(model => model.ComprehensiveDinnerNeeded)</p>
                <p class="ch">
                    @Html.EditorFor(model => model.CofeeBreakNeeded)
                    @Html.ValidationMessageFor(model => model.CofeeBreakNeeded)
                    @Html.LabelFor(model => model.CofeeBreakNeeded)</p>
            </div>
							
            <div class="form_item">
                <p>@Html.LabelFor(model => model.Comments):</p>
                @Html.EditorFor(model => model.Comments)
            </div>
            			
            <div class="form_reserve_btn">
                <div class="reserve_btn conf @language.ShortName"><input type="submit" value="" /></div>
            </div>
        }
        <div class="form_reserve_bot"></div>
    </div>								
</div>